package com.yundasys.lab17.lab17springbootdemo.entity;

import lombok.extern.slf4j.Slf4j;

/**
 * @Title: Computer
 * @Description:
 * @author: jiangta
 * @date: 2023/8/24 1:26 下午
 * @Version: 1.0
 */
@Slf4j
public class Computer {
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Computer() {
        log.info("----Computer类无参数构造方法触发执行");
    }

    public Computer(String type) {
        this.type = type;
        log.info("----Computer类有参数构造方法触发执行");
    }

}